import { IPilotUser } from './i-pilot-user';

/**
 * user from pilot
 * 
 * @class PilotUser
 * @implements {IPilotUser}
 */
export class PilotUser implements IPilotUser {
    public readonly Name: string;
    public readonly FullName: string;

    constructor(name: string, fullName: string) {
        this.Name = name;
        this.FullName = fullName;
    }
    /**
     *  Get legal entity from pilot user according to user name 
     * 
     * @param {string} username
     * @returns
     * 
     * @memberOf PilotUser
     */
    getLegalEntity(username: string) {
        return 'test legal';
    }

    /**
     * Get user desk from pilot user according to user name 
     * 
     * @param {string} username
     * @returns {string}
     * 
     * @memberOf IPilotUser
     */
    GetUserDesk(username: string) {
        return 'test user desk';
    }

}